package org.will.demo.events.dto;

import org.apache.commons.lang3.StringUtils;

import java.util.Map;

/**
 * Created by EdifierWill on 2016/9/1.
 */
public class UpdateItemsRequest {

    private String type;
    private String id;
    private Map<String,String> content;

    public String getType() {
        if(StringUtils.isBlank(type))
            return "default";
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Map<String, String> getContent() {
        return content;
    }

    public void setContent(Map<String, String> content) {
        this.content = content;
    }
}
